home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
fft1dui.z
/
fft1dui
Wrap
Text File
|
1996-03-14
|
4KB
|
133 lines
ssssccccfffffffftttt1111dddduuuuiiii,,,,ddddzzzzfffffffftttt1111dddduuuuiiii((((3333FFFF)))) ssssccccfffffffftttt1111dddduuuuiiii,,,,ddddzzzzfffffffftttt1111dddduuuuiiii((((3333FFFF))))
NNNNAAAAMMMMEEEE
ssssccccfffffffftttt1111dddduuuuiiii,,,, ddddzzzzfffffffftttt1111dddduuuuiiii ---- initialize the coefficient array for real-to-
complex 1D FFT modules.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
_F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee SSSSCCCCFFFFFFFFTTTT1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
rrrreeeeaaaallll ccccooooeeeeffffffff((((nnnn++++11115555))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee DDDDZZZZFFFFFFFFTTTT1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
rrrreeeeaaaallll****8888 ccccooooeeeeffffffff((((nnnn++++11115555))))
_C _S_P_E_C_I_F_I_C_A_T_I_O_N
####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
ffffllllooooaaaatttt ****ssssccccfffffffftttt1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ffffllllooooaaaatttt ****ccccooooeeeeffffffff))));;;;
ddddoooouuuubbbblllleeee ****ddddzzzzfffffffftttt1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ddddoooouuuubbbblllleeee ****ccccooooeeeeffffffff))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Initialize, the coefficient array which is used in the FFT modules. This
array contains the different twiddle factors and the factorization of N
into prime numbers.
As the FFT modules scfft1d or dzfft1d only read the _c_o_e_f_f array, it may
be reused as long as necessary once it has been initialized.
In C, if _p_t_r is NULL, _s_c_f_f_t_1_d_u_i or _d_z_f_f_t_1_d_u_i returns a pointer to an
allocated buffer.
SCFFT1DUI should be used to initialize the coefficient array before any
call to SCFFT1DU
DZFFT1DUI should be used to initialize the coefficient array before any
call to DZFFT1DU
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
NNNN ---- Integer. Specifies the length of the sequence to be transformed.
Unchanged on exit.
CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
Initializing a coefficient array for real-to-complex FFTs of size 200.
_F_o_r_t_r_a_n :
float coeff(200+15)
call scfft1dui( 200, coeff)
_C :
#include <fft.h>
float *coeff;
PPPPaaaaggggeeee 1111
ssssccccfffffffftttt1111dddduuuuiiii,,,,ddddzzzzfffffffftttt1111dddduuuuiiii((((3333FFFF)))) ssssccccfffffffftttt1111dddduuuuiiii,,,,ddddzzzzfffffffftttt1111dddduuuuiiii((((3333FFFF))))
coeff = scfft1dui( 200, NULL);
SSSSEEEEEEEE AAAALLLLSSSSOOOO
fft, scfft1du, dzfft1du
PPPPaaaaggggeeee 2222